//
//  SCjCollectionViewLayout.h
//  15-homework
//
//  Created by dllo on 16/8/3.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol SCjCollectionViewLayoutDelegate <NSObject>

- (CGFloat)collectionView:(UICollectionView *)collectionView
                   layout:(UICollectionViewLayout *)collectionViewLayout
                    height:(CGFloat)height
   sizeForItemAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface SCjCollectionViewLayout : UICollectionViewLayout
@property (nonatomic, assign) CGFloat cellMargin;
@property (nonatomic, assign) CGFloat cellHeight;

@property (nonatomic, weak) id<SCjCollectionViewLayoutDelegate>delegate;
@end
